﻿<Window x:Class="BubblingEvents" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Bubbling Events" Height="300" Width="300">

    <Grid>
        <Grid x:Name="outerGrid">
            <Border BorderBrush="Black" BorderThickness="2" Margin="35,60,35,35">
                <Grid x:Name="middleGrid">
                    <Border BorderBrush="Black" BorderThickness="2" Margin="33,49,37,46">
                        <Grid x:Name="innerGrid"  />
                    </Border>
                </Grid>
            </Border>
        </Grid>
        <CheckBox Margin="16,16,0,0" Height="16" Name="chkOuter" VerticalAlignment="Top" HorizontalAlignment="Left" Width="121" Content="Handle Events Too" />
        <CheckBox Height="16" Margin="45,70,0,0" Name="chkMiddle" VerticalAlignment="Top" Content="Handle Event" HorizontalAlignment="Left" Width="92" />
        <CheckBox Height="16" Margin="82,122,0,0" Name="chkInner" VerticalAlignment="Top" Content="Handle Event" HorizontalAlignment="Left" />
    </Grid>

</Window>
